home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Conversion / Convert_PICT / Testing / hex_tests / rgn=S.hex < prev    next >
Text File  |  1992-11-22  |  2KB  |  32 lines

  1. % header
  2. 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  3. % end of app-specific header
  4. 00FF 0000 0000 00FF 00FF    % pict size (bogus) and top left bottom right
  5. 11 01                        % verson
  6. 01 000A 0000 0080 00FF 00FF    % Clip region.
  7. 30 0000 0000 00FF 00FF        % draw bounding rect
  8. 0A AA 55 AA 55 AA 55 AA 55 % fill pat
  9.  
  10. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  11. %
  12. %    Region test: S
  13. %        Same region as in test P and R.  This time, the click region is spanning only
  14. %        the right half of the area again.  Aditionally, after painting the region,
  15. %        we erase a rectangle that falls within the region's clip in a way to try to determine
  16. %        which clipping area is in effect now.
  17. %        Note that we use different patterns to help keep things distinguishable
  18. %
  19. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  20.  
  21.  
  22. % paint a region
  23. 81 001C 0060 0000 00A0 00FF
  24.     0060 0000 00FF 7FFF
  25.     00A0 0000 00FF 7FFF
  26.     7FFF
  27.  
  28. % fill the rect, using the fill color  (it overlaps clip region, but doesn't touch clear
  29. % to center.
  30. 34 0030 00A0 00D0 00F0
  31. FF    % end
  32.